package com.zzyl.vo;

import com.zzyl.entity.NursingProjectPlan;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 友人A
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingPlanVo extends BedVo {

    @ApiModelProperty(value = "编号", required = true, example = "1")
    private Long id;

    @ApiModelProperty(value = "名称", required = true, example = "护理计划A")
    private String planName;

    @ApiModelProperty(value = "状态 (0: 禁用, 1: 启用)", required = true, allowableValues = "0,1", example = "1")
    private Integer status;

    @ApiModelProperty(value = "创建时间", required = true)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人id", example = "1234567890")
    private Long createBy;

    @ApiModelProperty(value = "更新人id", example = "1234567890")
    private Long updateBy;

    @ApiModelProperty(value = "创建人名称", example = "行政专员")
    private String creator;

    @ApiModelProperty(value = "护理项目对象集合")
    private List<NursingProjectPlan> projectPlans;
}
